package bstsetcode.linkedliststack;



/**
 * @author noob
 * @version 1.0
 * @date 2021/3/15 9:38
 */
public class LinkedListStackTest {

    public static void main(String[] args) {


        LinkedListStack<Integer> stack = new LinkedListStack<>();
        for (int i = 0; i < 5; i++) {
            stack.push(i);
            System.out.println(stack);
        }

        stack.pop();
        System.out.println(stack);
    }
}
